package com.github.ecbp.store.service.param;

import com.github.ecbp.common.validator.FlagValidator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author Created by 何德宝 on 2020/4/10 0:15
 * @Version V1.0
 * @Description: 更新产品分类的显示参数
 */
@ApiModel(value = "ProductCategoryUpdateShowStatusParam", description = "更新产品分类的显示参数")
@Data
public class ProductCategoryUpdateShowStatusParam implements Serializable {
    private static final long serialVersionUID = 3909348705890846821L;

    @ApiModelProperty("主键ids")
    private List<Long> ids;

    @ApiModelProperty("是否进行显示")
    @FlagValidator(value = {"0", "1"}, message = "状态只能为0或1")
    private Integer showStatus;

}
